package com.topisv.tms.rest.entity.md.request;

import java.util.Date;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;

import com.topisv.tms.tools.typeadapter.JaxbDateAdapter;

/**
 * 美的接口报文的subject
 *  Date          Author       Version       Description
 * ----------------------------------------------------------
 *  2015-1-7      CC            1.0           Create
 */
@XmlAccessorType(XmlAccessType.FIELD)
public class TransferSubject {
	@XmlElement(name = "Sender")
	private String sender;// 发送方

	@XmlElement(name = "Receiver")
	private String receiver;// 接收方

	@XmlElement(name = "DocumentType")
	private String documentType;// 消息类型

	@XmlElement(name = "DataGenerationTime")
	@XmlJavaTypeAdapter(JaxbDateAdapter.class)
	private Date dataGenerationTime;// 数据生成时间

	@XmlElement(name = "TransferFileID")
	private String transferFileID;// 消息ID

	@XmlElement(name = "Sign")
	private String sign;// 签名
	
	@XmlElement(name = "Version")
	private String version;//版本默认1.0

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public String getSender() {
		return sender;
	}

	public void setSender(String sender) {
		this.sender = sender;
	}

	public String getReceiver() {
		return receiver;
	}

	public void setReceiver(String receiver) {
		this.receiver = receiver;
	}

	public String getDocumentType() {
		return documentType;
	}

	public void setDocumentType(String documentType) {
		this.documentType = documentType;
	}

	public Date getDataGenerationTime() {
		return dataGenerationTime;
	}

	public void setDataGenerationTime(Date dataGenerationTime) {
		this.dataGenerationTime = dataGenerationTime;
	}

	public String getTransferFileID() {
		return transferFileID;
	}

	public void setTransferFileID(String transferFileID) {
		this.transferFileID = transferFileID;
	}

	public String getSign() {
		return sign;
	}

	public void setSign(String sign) {
		this.sign = sign;
	}

}
